import request from '@/utils/request'

const BASEURL = '/admin/core/borrower'

export function getListPage(page, limit, keyword) {
  return request({
    url: `${BASEURL}/listPage/${page}/${limit}`,
    method: 'get',
    params: { keyword },
  })
}
export function show(id) {
  return request({
    url: `${BASEURL}/show/${id}`,
    method: 'get',
  })
}
export function approval(borrowerApproval) {
  return request({
    url: `${BASEURL}/approval`,
    method: 'post',
    data: borrowerApproval,
  })
}
